cmake_minimum_required(VERSION 3.0.0)

project(DIPFinal VERSION 0.1.0)
add_definitions(-std=c++11)
find_package(OpenCV REQUIRED)
include(CTest)
enable_testing()
set(SOURCES
    src/orbExt.cpp
    main.cpp
)
include_directories("./inc")
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(DIPFinal ${SOURCES})

target_link_libraries(DIPFinal ${OpenCV_LIBS} )

target_link_libraries(DIPFinal ${PROJECT_SOURCE_DIR}/inc)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
